aboutsummaryrefslogtreecommitdiff
path: root/src/app/kdrama/[id]
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/kdrama/[id]')
-rw-r--r--src/app/kdrama/[id]/page.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/kdrama/[id]/page.jsx b/src/app/kdrama/[id]/page.jsx
index c891a0b..baaf24e 100644
--- a/src/app/kdrama/[id]/page.jsx
+++ b/src/app/kdrama/[id]/page.jsx
@@ -1,13 +1,13 @@
import styles from "../styles/info.module.css";
import Image from "next/image";
import EpisodesButtons from "./buttons";
-import VideoLinkCacher from "../components/cacher";
+import PreFetchVideoLinks from "../components/cacher";
export default async function DramaInfo({ params }) {
const id = decodeURIComponent(params.id);
const info = await getDramaInfo(id);
- await VideoLinkCacher(info.episodes, id);
+ PreFetchVideoLinks(info.episodes, id);
return (
<div className={styles.Main}>